Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ZE and ZE API readme updates #3365

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

adam-wolfe
Copy link
Contributor

@adam-wolfe adam-wolfe commented Dec 18, 2024

Proposed changes

For the ZE API readme

  1. Removes the paragraph that says that the ZE API is experimental
  2. Provides some minor wording changes.

For the ZE readme:

  1. Removes the note about the V3 pre-release
  2. Adds a usage tip for the insert key functionality recently added to VS Code.

In the future, we should consider providing more detail on the other modules available from the ZE API package or possibly providing some other form of API documentation (e.g., typedoc).

Release Notes

Milestone:

Changelog:

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (non-breaking change which adds or improves functionality)
  • Breaking change (a change that would cause existing functionality to not work as expected)
  • Documentation (Markdown, README updates)
  • Other (please specify above in "Proposed changes" section)

Checklist

General

  • I have read the CONTRIBUTOR GUIDANCE wiki
  • All PR dependencies have been merged and published (if applicable)
  • A GIF or screenshot is included in the PR for visual changes
  • The pre-publish command has been executed:
    • v2 and below: yarn workspace vscode-extension-for-zowe vscode:prepublish
    • v3: pnpm --filter vscode-extension-for-zowe vscode:prepublish

Code coverage

  • There is coverage for the code that I have added
  • I have added new test cases and they are passing
  • I have manually tested the changes

Deployment

  • I have added developer documentation (if applicable)
  • Documentation should be added to Zowe Docs
    • If you're an outside contributor, please post in the #zowe-doc Slack channel to coordinate documentation.
    • Otherwise, please check with the rest of the squad about any needed documentation before merging.
  • These changes may need ported to the appropriate branches (list here):

Further comments

Signed-off-by: Adam Wolfe <[email protected]>
@adam-wolfe adam-wolfe added the no-changelog Add to PR's that don't require a CHANGELOG update label Dec 18, 2024
Copy link

github-actions bot commented Dec 18, 2024

📅 Suggested merge-by date: 1/1/2025

Signed-off-by: adam-wolfe <[email protected]>
@adam-wolfe adam-wolfe requested a review from anaxceron December 18, 2024 14:36
Signed-off-by: adam-wolfe <[email protected]>
@adam-wolfe adam-wolfe marked this pull request as draft December 18, 2024 14:46
@adam-wolfe adam-wolfe changed the title Remove experimental note in ZE API readme and provide partial update ZE and ZE API readme updates Dec 18, 2024
@adam-wolfe adam-wolfe marked this pull request as ready for review December 18, 2024 15:00
Copy link

codecov bot commented Dec 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.17%. Comparing base (aea6d92) to head (9d2fe2c).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3365   +/-   ##
=======================================
  Coverage   93.17%   93.17%           
=======================================
  Files         117      117           
  Lines       12277    12277           
  Branches     2822     2822           
=======================================
  Hits        11439    11439           
  Misses        837      837           
  Partials        1        1           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@JillieBeanSim JillieBeanSim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adding these updates @adam-wolfe, did leave a comment for small grammar change and a comment for discussion with squad at later time.

packages/zowe-explorer-api/README.md Outdated Show resolved Hide resolved
However, the current API is being used by other extensions already, such as for Zowe Explorer with the [Zowe Explorer FTP Extension](../zowe-explorer-ftp-extension) that you can find in this same Git repository, as well as for commercial extensions maintained by Zowe's contributors and available on their company websites.

Currently, the API is organized into two modules, which both are rolled up into the top-level `index.ts` file for convenient access.
The API is organized into modules that are exposed through the top-level `index.ts` file for convenient access.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment here isn't for the sentence itself but about the changed access to modules, removing the access directly to the /profiles module was a huge breaking change I saw for extenders that use our profile ZE APIs in a CLI plugin. Bringing attention here for discussion.

@adam-wolfe adam-wolfe marked this pull request as draft December 18, 2024 18:50
Signed-off-by: adam-wolfe <[email protected]>
anaxceron
anaxceron previously approved these changes Dec 18, 2024
Copy link
Contributor

@anaxceron anaxceron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is good to go. Made a minor note re: pluralization.

packages/zowe-explorer/README.md Outdated Show resolved Hide resolved

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good timing! I noticed this when reading this page earlier today, that this line the link to packages/zowe-explorer-ftp-extension/src/ZoweExplorerFtpApi.ts now goes to a 404.

Signed-off-by: adam-wolfe <[email protected]>
Signed-off-by: adam-wolfe <[email protected]>
@adam-wolfe
Copy link
Contributor Author

As I dig into the Zowe Explorer API readme, I'm realizing that this is a bit more tangled than I realized. I've made all of the easy changes. After the holidays, we should update the Zowe Explorer API readme to describe the current state of the modules.

@adam-wolfe adam-wolfe marked this pull request as ready for review December 18, 2024 21:24
Copy link
Contributor

@JillieBeanSim JillieBeanSim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for pushing updates for comments @adam-wolfe. With the comment about other broken links we should update the zFTP package links in this file being updated to full path for access from npmjs. I also got a 404 when clicking the link for the zFTP package in npmjs
https://github.com/zowe/zowe-explorer-vscode/tree/main/packages/zowe-explorer-ftp-extension

packages/zowe-explorer-api/README.md Outdated Show resolved Hide resolved
packages/zowe-explorer-api/README.md Outdated Show resolved Hide resolved
@adam-wolfe
Copy link
Contributor Author

I've revised some of the wording. Let me know what you think.

@JillieBeanSim
Copy link
Contributor

I've revised some of the wording. Let me know what you think.

looks like there are numerous relative paths to the zFTP extension in the ZE API README, could they all be changed to full browser paths to work from outside the repository please. Thanks

@adam-wolfe
Copy link
Contributor Author

I've revised some of the wording. Let me know what you think.

looks like there are numerous relative paths to the zFTP extension in the ZE API README, could they all be changed to full browser paths to work from outside the repository please. Thanks

Should be good now

Copy link
Member

@traeok traeok left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks Adam for updating the readmes 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-changelog Add to PR's that don't require a CHANGELOG update size/S
Projects
Status: Review/QA
Development

Successfully merging this pull request may close these issues.

5 participants